file = open("b.txt", "w", encoding="utf-8")
file.write("哈哈haha")
file.close()